<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html>
<head>
<!-- Standard Meta -->
<c:import url="../common/meda.jsp"></c:import>

<!-- Site Properties -->
<title>${description.description_name }-${sysDesc}</title>
<link rel="stylesheet" type="text/css" href="/css/semantic.css">
<link rel="stylesheet" type="text/css" href="/css/common.css">
<link rel="stylesheet" type="text/css" href="/css/major.css">

<script src="/js/jquery.min.js"></script>
<script src="/js/semantic.js"></script>
<script src="/js/common.js"></script>
<script src="//${static_server }/js/title_menu.js"></script>
<script src="/js/major.js"></script>
</head>
<body class="pushable">
	<c:import url="../common/title_menu.jsp"></c:import>
	<div class="pusher">
		<c:import
			url="../common/major_header.jsp?description_name=${description.description_name }&education=${description.education }&is_hot=${description.is_hot }&major_code=${description.major_code }&category=${description.category }&subject=${description.subject }&study_life=${description.study_life}&degree=${description.degree }"></c:import>
		<div id="majorbodysegment" class="ui vertical masthead segment">
			<div class="ui container">
				<div class="ui stackable grid">
					<div class="three wide column  left aligned">
						<script>
							window.semantic.major.education = '${description.education}';
						</script>

					</div>
					<div class="ten wide column">
						<div class="ui teal fluid two item menu">
							<a class="active item" data-tab="first">专业介绍</a> <a class="item"
								data-tab="second">开设院校</a>
						</div>
						<div class="ui active tab basic segment" data-tab="first">
							<c:if test="${not empty description.train_target}">
								<div class="schInfoSubT">
									<h2 class="ui teal header">培养目标</h2>
								</div>
								<div class="majorInfoTxt">${description.train_target }</div>
							</c:if>

							<c:if test="${not empty description.train_requirement }">
								<div class="schInfoSubT">
									<h2 class="ui teal header">培养要求</h2>
								</div>
								<div class="majorInfoTxt">${description.train_requirement }
								</div>
							</c:if>

							<c:if test="${not empty description.important_course}">
								<div class="schInfoSubT">
									<h2 class="ui teal header">主干学科</h2>
								</div>
								<div class="majorInfoTxt">${description.important_course }
								</div>
							</c:if>

							<c:if test="${not empty description.main_course }">
								<div class="schInfoSubT">
									<h2 class="ui teal header">开设课程</h2>
								</div>
								<div class="majorInfoTxt">${description.main_course }</div>
							</c:if>

							<c:if test="${not empty description.study_life }">
								<div class="schInfoSubT">
									<h2 class="ui teal header">修学年限</h2>
								</div>
								<div class="majorInfoTxt">${description.study_life }</div>
							</c:if>

							<c:if test="${not empty description.knowledge_ability }">
								<div class="schInfoSubT">
									<h2 class="ui teal header">具备的知识技能或能力</h2>
								</div>
								<div class="majorInfoTxt">${description.knowledge_ability }
								</div>
							</c:if>

							<c:if test="${not empty description.degree }">
								<div class="schInfoSubT">
									<h2 class="ui teal header">授予学位</h2>
								</div>
								<div class="majorInfoTxt">${description.degree }</div>
							</c:if>

							<c:if test="${not empty description.practice }">
								<div class="schInfoSubT">
									<h2 class="ui teal header">实验及实践</h2>
								</div>
								<div class="majorInfoTxt">${description.practice }</div>
							</c:if>

							<c:if test="${not empty description.employment_direction }">
								<div class="schInfoSubT">
									<h2 class="ui teal header">就业方向</h2>
								</div>
								<div class="majorInfoTxt">
									${description.employment_direction }</div>
							</c:if>

							<c:if test="${not empty description.major_limit  }">
								<div class="schInfoSubT">
									<h2 class="ui teal header">专业限制</h2>
								</div>
								<div class="majorInfoTxt">${description.major_limit }</div>
							</c:if>

							<c:if test="${not empty description.major_direction }">
								<div class="schInfoSubT">
									<h2 class="ui teal header">专业可选方向</h2>
								</div>
								<div class="majorInfoTxt">${description.major_direction }
								</div>
							</c:if>

							<c:if test="${not empty description.other }">
								<div class="schInfoSubT">
									<h2 class="ui teal header">其他</h2>
								</div>
								<div class="majorInfoTxt">${description.other }</div>
							</c:if>
						</div>
						<div class="ui bottom attached tab segment" data-tab="second">
							<div class="ui two column stackable relaxed grid">
								<c:forEach var="college" items="${colleges}">
									<div class="column">
										<div class="ui items">
											<div class="item">
												<div class="ui tiny image">
													<img
														src="/images/${college.college_id }/headImage.jpg">
												</div>
												<div class="middle aligned content">
													<div class="header">${college.college_name }</div>
													<div class="description">
													</div>
													<div class="extra">
														<div class="ui tiny two buttons">
															<a class="ui button" href="/college/${college.college_id }/base.html" target="_blank">院校简介</a>
															<div class="or"></div>
															<a class="ui orange button" href="/college/${college.college_id }/enroll.html#1" target="_blank">招生计划</a>
														</div>
													</div>
												</div>
											</div>

										</div>
									</div>
								</c:forEach>
							</div>
						</div>

					</div>
					<div class="three wide column">
						<h4 class="ui horizontal clearing divider header">相似专业</h4>
						<div class="ui segment">
							<div class="ui vertical text menu">
								<c:forEach var="item" items="${sameDescription }"
									varStatus="secondStatus">
									<a class="item" href="/major/${item.description_id }/base.html"
										target="_blank">${item.description_name }</a>
								</c:forEach>
							</div>
						</div>
						<h4 class="ui horizontal divider header">热门专业</h4>
						<div id="hot_major" class="ui segment">
							
						</div>
					</div>
				</div>
			</div>
			<!-- content container end -->
		</div>
		<!-- majorbodycontainer end -->
		<c:import url="../common/footer.jsp"></c:import>
	</div>
	<!-- pusher end -->
</body>
</html>
